hideConsoleWindows
Type
property
Summary
Hides the main window of applications run with the open process command or shell function on Windows systems.
Syntax
set the hideConsoleWindows to {true | false}
Description
Use the hideConsoleWindows property to run command line applications without the user seeing them.
On Windows systems, when you run a command line program with the launch or open process command, a console window appears. If the hideConsoleWindows property is true, the window is not shown. (You can still use the write to process and read from process commands to send data to the program and get data from it.)
The setting of this property affects Windows applications with a GUI as well as command line programs.
If you run a program that requires user interaction, make sure the hideConsoleWindows property is set to false beforehand. Otherwise, the program will not be displayed and the user will not be able to see it.
The setting of this property has no effect on Mac OS or Unix systems.
Examples
set the hideConsoleWindows to true
Related
function: shell
glossary: property, Windows, console, command, command line
property: shellCommand
command: open process, launch, write to process, read from process
control structure: function
Compatibility and Support
Introduced
LiveCode 1.0
OS
windows
Platforms
desktop
server